package com.example.demo.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by Administrator on 2018/10/16 0016.
 */
@Data
public class InquiryPartsVo {
    private Integer id;
    @NotNull(message = "备件ID不能为空")
    private Integer partsId;
    @NotNull(message = "备件编码不能为空")
    private String partsCode;
    @NotNull(message = "备件名称不能为空")
    private String partsName;
    private Integer inquiryId;
    private String unit;
    //@NotNull(message = "备件数量不能为空")
    private Integer amount;
    private String moneyType;
    private Integer mop;
    @JsonFormat(pattern = "yy-MM-dd HH-mm-ss", timezone = "Asia/Beiging")
    private Date IntendDeliverDate;

}
